package com.anjubao.parking.municipal.parkinglot.model;

import com.anjubao.parking.municipal.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 停车场计费规则
 *
 * @author zhuchunfeng sub_rule_id
 */
@Getter
@Setter
@TableName("parking_lot_bill_rule")
@ApiModel(value="ParkingLotBillRule",description = "停车场计费规则")
public class ParkingLotBillRule extends BaseEntity<ParkingLotBillRule>{

    @TableField(value="id")
    @ApiModelProperty(name="id",value = "主键id")
    private Long id;

    @TableField(value="code")
    @ApiModelProperty(name="code",value = "计费编码")
    private String code;

    @TableField(value="sub_rule_id")
    @ApiModelProperty(name="subRuleId",value = "详情id")
    private Long subRuleId;

    @TableField(value="name")
    @ApiModelProperty(name="name",value = "计费规则名称")
    private String name;

    @TableField(value="parking_free_time")
    @ApiModelProperty(name="parkingFreeTime",value = "停车免费时长，单位为秒")
    private Integer parkingFreeTime;

    @TableField(value="day_fee_max")
    @ApiModelProperty(name="dayFeeMax",value = "24小时收费封顶值，单位为分")
    private Integer dayFeeMax;

    @TableField(value="leave_free_time")
    @ApiModelProperty(name="leaveFreeTime",value = "离场免费时长，单位为秒")
    private Integer leaveFreeTime;

    @TableField(value="note")
    @ApiModelProperty(name="note",value = "备注")
    private String note;

}